package cn.neusoft.service;

import cn.neusoft.domain.Substation;
import cn.neusoft.query.BaseQuery;
import cn.neusoft.vo.PageBean;

import java.util.List;

public interface SubstationService {
    void add(Substation substation);

    void deleteById(Long substation_id);

    void update(Substation substation);

    Substation findById(Long substation_id);

    List<Substation> findAll();

    PageBean<Substation> findByPage(BaseQuery query);

    List<String> getDistinctAddress();
}
